package com.zhongwang.mms.gen.mapper;

import com.zhongwang.mms.gen.entity.PReturnMaterial;
import com.zhongwang.mms.gen.entity.PReturnMaterialExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PReturnMaterialMapper {
    long countByExample(PReturnMaterialExample example);

    int deleteByExample(PReturnMaterialExample example);

    int deleteByPrimaryKey(Integer rtmId);

    int insert(PReturnMaterial record);

    int insertSelective(PReturnMaterial record);

    List<PReturnMaterial> selectByExample(PReturnMaterialExample example);

    PReturnMaterial selectByPrimaryKey(Integer rtmId);

    int updateByExampleSelective(@Param("record") PReturnMaterial record, @Param("example") PReturnMaterialExample example);

    int updateByExample(@Param("record") PReturnMaterial record, @Param("example") PReturnMaterialExample example);

    int updateByPrimaryKeySelective(PReturnMaterial record);

    int updateByPrimaryKey(PReturnMaterial record);
}